package com.cgtong.android.mvp.contract;

import com.cgtong.android.bean.ActivityBean;
import com.cgtong.android.bean.BannerBean;
import com.cgtong.android.bean.NewsBean;
import com.zhouyou.http.callback.SimpleCallBack;

import java.util.List;

/**
 * Created by Sky.Bing on 2017/10/24.
 */

public interface HomeContract {
    interface View {
        void showActivities(List<ActivityBean> activityBeanList);

        void showActivitiesError();

        void showHotNews(List<NewsBean> newsBeanList);

        void showHotNewsError();

        void showBanner(List<BannerBean> bannerBeanList);
    }

    interface Model {
        void getActivities(SimpleCallBack callBack);

        void getHotNews(SimpleCallBack callBack);

        void getBannerList(SimpleCallBack callBack);
    }

    interface Presenter {
        void getActivities();

        void getHotNews();

        void getBannerList();
    }
}
